package com.demo.modules.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 风险地区表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "risk_area")
public class RiskArea {
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 省份
     */
    @TableField(value = "province")
    private String province;

    /**
     * 城市
     */
    @TableField(value = "city")
    private String city;

    /**
     * 区
     */
    @TableField(value = "area")
    private String area;

    /**
     * 具体地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 风险级别
     */
    @TableField(value = "`level`")
    private String level;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

}